﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;

namespace B.WMS.WMSEntities.GoodsEntities
{
    /// <summary>
    /// 调拨表
    /// </summary>
    public  class WAllocate: AuditedAggregateRoot<Guid>
    {
        /// <summary>
        /// 调拨表编码
        /// </summary>
        [MaxLength(18)]
        public string WAllocatecoding { get; set; }

        /// <summary>
        /// 货品编码
        /// </summary>
        public string Goodscoding { get; set; }
        /// <summary>
        /// 货品名称
        /// </summary>
        public string GoodsName{ get; set; }
        /// <summary>
        /// 调拨原因
        /// </summary>
        public string Reason { get; set; }
        /// <summary>
        /// 调拨数量
        /// </summary>
        public int Num { get; set;}
        /// <summary>
        /// 调拨时间
        /// </summary>
        public DateTime WAllocatetime { get; set; }

        /// <summary>
        /// 条码
        /// </summary>
        public string Barcode { get; set; }

        /// <summary>
        /// 调出的仓库编号
        /// </summary>
        public string WarehouseNoOut { get; set; }
        /// <summary>
        /// 调出的仓库名称
        /// </summary>
        public string WarehouseNoOutName { get; set; }
        /// <summary>
        /// 调出的库位编号
        /// </summary>
      
        public string LocationNoOut {  get; set; }
        /// <summary>
        /// 调出的库位名称
        /// </summary>
        public string LocationNoOutName {  get; set; }

        /// <summary>
        /// 调入的仓库编号
        /// </summary>
        public string WarehouseNoIn { get; set; }
        /// <summary>
        /// 调入的仓库名称
        /// </summary>
        public string WarehouseNoInName { get; set; }
      
        /// <summary>
        /// 调入的库位编号
        /// </summary>

        public string LocationNoIn { get; set; }
        /// <summary>
        /// 调入的库位名称
        /// </summary>
        public string LocationNoInName { get; set; }

        /// <summary>
        /// 调入金额
        /// </summary>
        public decimal Tuneprice { get; set; }


        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 置办人
        /// </summary>
        public string Purchaseperson { get; set; }

        /// <summary>
        /// 制单人
        /// </summary>
        public string Listperson { get; set; }


    }
}
